package com.pzb.page.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pzb.common.core.domain.BaseEntity;

/**
 * 搜索管理对象 pg_search
 * 
 * @author Mr_Wu
 * @date 2021-12-27
 */
public class PgSearch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 商户id */
    private String extAppid;

    /** 热搜词 */
    private String searchWords;

    /** 热搜词标签颜色 */
    private String color;

    /** 排序号 */
    private Integer sort;

    /** 热搜词开启状态 */
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExtAppid(String extAppid) 
    {
        this.extAppid = extAppid;
    }

    public String getExtAppid() 
    {
        return extAppid;
    }
    public void setSearchWords(String searchWords) 
    {
        this.searchWords = searchWords;
    }

    public String getSearchWords() 
    {
        return searchWords;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("extAppid", getExtAppid())
            .append("searchWords", getSearchWords())
            .append("color", getColor())
            .append("sort", getSort())
            .append("status", getStatus())
            .toString();
    }
}
